﻿using System;
using System.CodeDom.Compiler;
using System.Diagnostics;
using Google.Protobuf;
using Google.Protobuf.Reflection;

namespace EggLink.DanhengServer.Proto
{
	// Token: 0x02000D55 RID: 3413
	[DebuggerDisplay("{ToString(),nq}")]
	public sealed class PrestigeLevelUpCsReq : IMessage<PrestigeLevelUpCsReq>, IMessage, IEquatable<PrestigeLevelUpCsReq>, IDeepCloneable<PrestigeLevelUpCsReq>, IBufferMessage
	{
		// Token: 0x17002B50 RID: 11088
		// (get) Token: 0x06009933 RID: 39219 RVA: 0x00199507 File Offset: 0x00197707
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageParser<PrestigeLevelUpCsReq> Parser
		{
			get
			{
				return PrestigeLevelUpCsReq._parser;
			}
		}

		// Token: 0x17002B51 RID: 11089
		// (get) Token: 0x06009934 RID: 39220 RVA: 0x0019950E File Offset: 0x0019770E
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageDescriptor Descriptor
		{
			get
			{
				return PrestigeLevelUpCsReqReflection.Descriptor.MessageTypes[0];
			}
		}

		// Token: 0x17002B52 RID: 11090
		// (get) Token: 0x06009935 RID: 39221 RVA: 0x00199520 File Offset: 0x00197720
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		MessageDescriptor IMessage.Descriptor
		{
			get
			{
				return PrestigeLevelUpCsReq.Descriptor;
			}
		}

		// Token: 0x06009936 RID: 39222 RVA: 0x00199527 File Offset: 0x00197727
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public PrestigeLevelUpCsReq()
		{
		}

		// Token: 0x06009937 RID: 39223 RVA: 0x0019952F File Offset: 0x0019772F
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public PrestigeLevelUpCsReq(PrestigeLevelUpCsReq other) : this()
		{
			this._unknownFields = UnknownFieldSet.Clone(other._unknownFields);
		}

		// Token: 0x06009938 RID: 39224 RVA: 0x00199548 File Offset: 0x00197748
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public PrestigeLevelUpCsReq Clone()
		{
			return new PrestigeLevelUpCsReq(this);
		}

		// Token: 0x06009939 RID: 39225 RVA: 0x00199550 File Offset: 0x00197750
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override bool Equals(object other)
		{
			return this.Equals(other as PrestigeLevelUpCsReq);
		}

		// Token: 0x0600993A RID: 39226 RVA: 0x0019955E File Offset: 0x0019775E
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public bool Equals(PrestigeLevelUpCsReq other)
		{
			return other != null && (other == this || object.Equals(this._unknownFields, other._unknownFields));
		}

		// Token: 0x0600993B RID: 39227 RVA: 0x0019957C File Offset: 0x0019777C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override int GetHashCode()
		{
			int num = 1;
			if (this._unknownFields != null)
			{
				num ^= this._unknownFields.GetHashCode();
			}
			return num;
		}

		// Token: 0x0600993C RID: 39228 RVA: 0x001995A2 File Offset: 0x001977A2
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override string ToString()
		{
			return JsonFormatter.ToDiagnosticString(this);
		}

		// Token: 0x0600993D RID: 39229 RVA: 0x001995AA File Offset: 0x001977AA
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void WriteTo(CodedOutputStream output)
		{
			output.WriteRawMessage(this);
		}

		// Token: 0x0600993E RID: 39230 RVA: 0x001995B3 File Offset: 0x001977B3
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalWriteTo(ref WriteContext output)
		{
			if (this._unknownFields != null)
			{
				this._unknownFields.WriteTo(ref output);
			}
		}

		// Token: 0x0600993F RID: 39231 RVA: 0x001995CC File Offset: 0x001977CC
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public int CalculateSize()
		{
			int num = 0;
			if (this._unknownFields != null)
			{
				num += this._unknownFields.CalculateSize();
			}
			return num;
		}

		// Token: 0x06009940 RID: 39232 RVA: 0x001995F2 File Offset: 0x001977F2
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(PrestigeLevelUpCsReq other)
		{
			if (other == null)
			{
				return;
			}
			this._unknownFields = UnknownFieldSet.MergeFrom(this._unknownFields, other._unknownFields);
		}

		// Token: 0x06009941 RID: 39233 RVA: 0x0019960F File Offset: 0x0019780F
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(CodedInputStream input)
		{
			input.ReadRawMessage(this);
		}

		// Token: 0x06009942 RID: 39234 RVA: 0x00199618 File Offset: 0x00197818
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalMergeFrom(ref ParseContext input)
		{
			while (input.ReadTag() != 0U)
			{
				this._unknownFields = UnknownFieldSet.MergeFieldFrom(this._unknownFields, ref input);
			}
		}

		// Token: 0x04003AF4 RID: 15092
		private static readonly MessageParser<PrestigeLevelUpCsReq> _parser = new MessageParser<PrestigeLevelUpCsReq>(() => new PrestigeLevelUpCsReq());

		// Token: 0x04003AF5 RID: 15093
		private UnknownFieldSet _unknownFields;
	}
}
